Skip to content

Commit

Permalink
texworks sync
Browse files Browse the repository at this point in the history
  • Loading branch information
edocevoli committed Feb 21, 2025
1 parent 1b96319 commit 169daef
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Programs/Editors/TeXworks/source/src/TWVersion.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2008-2016 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
Copyright (C) 2008-2024 Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -20,6 +20,6 @@
*/

#define VER_MAJOR 0
#define VER_MINOR 7
#define VER_BUGFIX 0
#define TEXWORKS_VERSION "0.7"
#define VER_MINOR 6
#define VER_BUGFIX 10
#define TEXWORKS_VERSION "0.6.10"
2 changes: 1 addition & 1 deletion Programs/Editors/TeXworks/source/src/ui/ColorButton.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2022 Stefan Löffler
Copyright (C) 2022 Stefan Löffler
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion Programs/Editors/TeXworks/source/src/ui/ColorButton.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
This is part of TeXworks, an environment for working with TeX documents
Copyright (C) 2022 Stefan Löffler
Copyright (C) 2022 Stefan Löffler
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
5 changes: 4 additions & 1 deletion Programs/Editors/TeXworks/source/src/utils/WindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,10 @@ void WindowManager::updateWindowMenu(QWidget *window, QMenu *menu) /* static */
selWin->setCheckable(true);
selWin->setChecked(true);
}
QObject::connect(selWin, &SelWinAction::triggered, pdfDoc, &PDFDocumentWindow::selectWindow);
// Don't use a direct connection as triggered has a boolean argument
// (checked) which would get forwarded to selectWindow's "activate",
// which doesn't make sense.
QObject::connect(selWin, &SelWinAction::triggered, pdfDoc, [pdfDoc]() { pdfDoc->selectWindow(); });
menu->addAction(selWin);
}
}
Expand Down

0 comments on commit 169daef

Please sign in to comment.