|
|
|
@ -34,7 +34,7 @@ FishUI.Window {
|
|
|
|
height: settings.height
|
|
|
|
height: settings.height
|
|
|
|
title: currentItem && currentItem.terminal ? currentItem.terminal.session.title : ""
|
|
|
|
title: currentItem && currentItem.terminal ? currentItem.terminal.session.title : ""
|
|
|
|
|
|
|
|
|
|
|
|
header.height: 40 + FishUI.Units.smallSpacing
|
|
|
|
header.height: 46
|
|
|
|
|
|
|
|
|
|
|
|
property alias currentItem: _view.currentItem
|
|
|
|
property alias currentItem: _view.currentItem
|
|
|
|
readonly property QMLTermWidget currentTerminal: currentItem.terminal
|
|
|
|
readonly property QMLTermWidget currentTerminal: currentItem.terminal
|
|
|
|
@ -48,8 +48,10 @@ FishUI.Window {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onClosing: {
|
|
|
|
onClosing: {
|
|
|
|
|
|
|
|
if (!root.isMaximized) {
|
|
|
|
settings.width = root.width
|
|
|
|
settings.width = root.width
|
|
|
|
settings.height = root.height
|
|
|
|
settings.height = root.height
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Exit prompt.
|
|
|
|
// Exit prompt.
|
|
|
|
for (var i = 0; i < tabsModel.count; ++i) {
|
|
|
|
for (var i = 0; i < tabsModel.count; ++i) {
|
|
|
|
|