mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 01:56:31 +03:00
Terminal status bar now is a Tab Widget and can create any number of terminals.
Fix a bug when initializing the LSP that provoked to not correctly send the initial commands. Added `expand-text` to UIPushButton. Added `setAcceptsDropOfWidgetFn` to externally control which widgets are accepted as droppable in UITabWidget. Improved draw invalidation in UIStackWidget.
This commit is contained in:
@@ -310,15 +310,6 @@ class UIBuildStep : public UILinearLayout {
|
||||
}
|
||||
} );
|
||||
|
||||
useStatusBarTerminal->on( Event::OnValueChange, [runInTerminal, reusePreviousTerminal,
|
||||
useStatusBarTerminal]( auto ) {
|
||||
if ( useStatusBarTerminal->isChecked() ) {
|
||||
reusePreviousTerminal->setChecked( true )->setEnabled( false );
|
||||
} else if ( runInTerminal->isChecked() ) {
|
||||
reusePreviousTerminal->setEnabled( true );
|
||||
}
|
||||
} );
|
||||
|
||||
reusePreviousTerminal->setVisible( true );
|
||||
reusePreviousTerminal->setEnabled( buildStep->runInTerminal );
|
||||
reusePreviousTerminal->setChecked( buildStep->reusePreviousTerminal );
|
||||
|
||||
Reference in New Issue
Block a user