From 735fb935f8475b771699a839b2ed5a42d7aff93b Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 16 Oct 2022 17:43:24 +0300 Subject: [PATCH] Enable button rearrangement Signed-off-by: Mavridis Philippe --- src/MachBunt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MachBunt.cpp b/src/MachBunt.cpp index 9137d02..3af9593 100644 --- a/src/MachBunt.cpp +++ b/src/MachBunt.cpp @@ -336,7 +336,7 @@ void MachBunt::doLayout() titlebar = new TQSpacerItem ( 0, titleHeight, TQSizePolicy::Expanding, TQSizePolicy::Fixed); TQBoxLayout *topLayout = new TQBoxLayout(windowLayout, TQBoxLayout::LeftToRight, 0, 0); -#if 0 +#if 1 bool first_left = true; for ( unsigned int i = 0; i titleButtonsLeft().length(); i++) { @@ -385,7 +385,7 @@ void MachBunt::doLayout() if ( !isMaximizable() ) button[BtnMax]->hide(); #endif -#if 0 +#if 1 MachBuntButton* last_right = NULL; for ( unsigned int i = 0; i titleButtonsRight().length(); i++) {