fix setting linetype in linetype combo