mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Always allow vertical resize in case we change from word wrap to non word-wrap
This commit is contained in:
committed by
Mat Sutcliffe
parent
2e67b94512
commit
fd281a464c
@@ -424,9 +424,9 @@ namespace BlackGui
|
||||
|
||||
// when not set to auto, then lets set how we want to resize rows
|
||||
// for auto this is too slow
|
||||
const bool ww = this->wordWrap();
|
||||
// const bool ww = this->wordWrap();
|
||||
QAction *resizeRowsAction = menuActions.addAction(CIcons::resizeVertical16(), "Resize rows to content", CMenuAction::pathViewResize(), nullptr, { this, &CViewBaseNonTemplate::resizeRowsToContents });
|
||||
resizeRowsAction->setEnabled(ww);
|
||||
resizeRowsAction->setEnabled(true); // as changing from word wraap to none word wrap can leave to high columns, we always enable this
|
||||
|
||||
/**
|
||||
QAction *a1 = menuActions.addAction(CIcons::resizeVertical16(), "Resize rows to content (auto), can be slow", CMenuAction::pathViewResize(), nullptr, { this, &CViewBaseNonTemplate::rowsResizeModeToContent });
|
||||
|
||||
Reference in New Issue
Block a user