No clear selection when dragging text

pull/2/head
reionwong 5 years ago
parent 3bbe700f96
commit ca444e5775

@ -2055,7 +2055,8 @@ void TerminalDisplay::mouseMoveEvent(QMouseEvent* ev)
// we've left the drag square, we can start a real drag operation now // we've left the drag square, we can start a real drag operation now
emit isBusySelecting(false); // Ok.. we can breath again. emit isBusySelecting(false); // Ok.. we can breath again.
_screenWindow->clearSelection(); // Reion: Don't clear selection.
// _screenWindow->clearSelection();
doDrag(); doDrag();
} }
return; return;

@ -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) {

Loading…
Cancel
Save