mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +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:
@@ -229,6 +229,10 @@ Git::Result Git::stash( std::vector<std::string> files, const std::string& proje
|
||||
projectDir );
|
||||
}
|
||||
|
||||
Git::Result Git::restore( std::vector<std::string> files, const std::string& projectDir ) {
|
||||
return gitSimple( String::format( "restore -- %s", asList( files ) ), projectDir );
|
||||
}
|
||||
|
||||
Git::Result Git::restore( const std::string& file, const std::string& projectDir ) {
|
||||
return gitSimple( String::format( "restore \"%s\"", file ), projectDir );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user