mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 01:56:31 +03:00
Hide tab widget scroll when mouse is not over.
Add context menu for splitter tabs. Git status count lines of added files and other fixes. Other code clean up regarding Variant class.
This commit is contained in:
@@ -367,8 +367,7 @@ void UniversalLocator::initLocateBar( UILocateBar* locateBar, UITextInput* locat
|
||||
modelEvent->getModel()->index( modelEvent->getModelIndex().row(), 1 ),
|
||||
ModelRole::Display ) );
|
||||
if ( vPath.isValid() && !String::startsWith( mLocateInput->getText(), ". " ) ) {
|
||||
std::string path( vPath.is( Variant::Type::cstr ) ? vPath.asCStr()
|
||||
: vPath.asStdString() );
|
||||
std::string path( vPath.toString() );
|
||||
if ( path.empty() )
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user