mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 02:26:29 +03:00
Add UIAbstractView SelectionKind to set if Multiple selection is enabled.
Git plugin minor changes. Replace getTranslatorString in favor of i18n when possible. UIAbstractTableView allow to start editing with keyboard shortcuts. Some micro-optimizations.
This commit is contained in:
@@ -707,8 +707,8 @@ void UIBuildSettings::bindTable( const std::string& name, const std::string& key
|
||||
};
|
||||
return delegate;
|
||||
};
|
||||
model->setColumnName( 0, getTranslatorString( key + "_name", "Name" ) );
|
||||
model->setColumnName( 1, getTranslatorString( key + "_value", "Value" ) );
|
||||
model->setColumnName( 0, i18n( key + "_name", "Name" ) );
|
||||
model->setColumnName( 1, i18n( key + "_value", "Value" ) );
|
||||
model->setIsEditable( true );
|
||||
table->setMainColumn( 1 );
|
||||
table->setAutoColumnsWidth( true );
|
||||
|
||||
Reference in New Issue
Block a user