mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-13 04:42:12 +03:00
Save side panel tabs order.
This commit is contained in:
@@ -31,7 +31,8 @@ UIPushButton* StatusAppOutputController::getRunButton() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void StatusAppOutputController::initNewOutput( const ProjectBuildOutputParser& outputParser ) {
|
||||
void StatusAppOutputController::initNewOutput( const ProjectBuildOutputParser& outputParser,
|
||||
bool fromBuildPanel ) {
|
||||
show();
|
||||
mAppOutput->getDocument().reset();
|
||||
mAppOutput->invalidateLongestLineWidth();
|
||||
@@ -66,10 +67,12 @@ void StatusAppOutputController::initNewOutput( const ProjectBuildOutputParser& o
|
||||
mAppOutput->setLineWrapMode( LineWrapMode::Word );
|
||||
mScrollLocked = true;
|
||||
|
||||
UIPushButton* runButton = getRunButton();
|
||||
if ( fromBuildPanel ) {
|
||||
UIPushButton* runButton = getRunButton();
|
||||
|
||||
if ( runButton )
|
||||
runButton->setText( mContext->i18n( "cancel_run", "Cancel Run" ) );
|
||||
if ( runButton )
|
||||
runButton->setText( mContext->i18n( "cancel_run", "Cancel Run" ) );
|
||||
}
|
||||
|
||||
mRunButton->setEnabled( false );
|
||||
mStopButton->setEnabled( true );
|
||||
|
||||
Reference in New Issue
Block a user