Skip to content
Snippets Groups Projects
Commit b7ab2a87 authored by stefan's avatar stefan
Browse files

New SequenceViewer, fixed valid selection columns

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2295 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 0bf94b6a
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ QVariant SequenceRow::GetData(int column, int role) const ...@@ -112,7 +112,7 @@ QVariant SequenceRow::GetData(int column, int role) const
Qt::ItemFlags SequenceRow::Flags(int column) const Qt::ItemFlags SequenceRow::Flags(int column) const
{ {
if(column<0 || column > this->GetColumnCount())return Qt::NoItemFlags; if(column<0 || column >= this->GetColumnCount())return Qt::NoItemFlags;
if(column==0){ if(column==0){
return Qt::ItemIsSelectable|Qt::ItemIsEnabled; return Qt::ItemIsSelectable|Qt::ItemIsEnabled;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment