Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
6bdf87bb
Commit
6bdf87bb
authored
Nov 30, 2020
by
Christoffer Ackelman
Committed by
Esteban Blanc
Dec 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: CTRL+E in the PLC editor now toggles between view/edit mode instead of only setting edit mode.
parent
d655002a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
wb/lib/wb/qt/wb_foe_qt.cqt
wb/lib/wb/qt/wb_foe_qt.cqt
+4
-1
wb/lib/wb/qt/wb_foe_qt.h
wb/lib/wb/qt/wb_foe_qt.h
+1
-0
No files found.
wb/lib/wb/qt/wb_foe_qt.cqt
View file @
6bdf87bb
...
@@ -464,9 +464,12 @@ void WFoeQtWidget::activate_edit_togg()
...
@@ -464,9 +464,12 @@ void WFoeQtWidget::activate_edit_togg()
{
{
if (sender() != foe->edit_togg) {
if (sender() != foe->edit_togg) {
foe->edit_togg->setChecked(true);
foe->edit_togg->setChecked(true);
foe->edit_was_checked = true;
} else {
foe->edit_was_checked = !foe->edit_was_checked;
}
}
foe->activate_edit_togg(
true
);
foe->activate_edit_togg(
foe->edit_was_checked
);
}
}
void WFoeQtWidget::valchanged_textinput()
void WFoeQtWidget::valchanged_textinput()
...
...
wb/lib/wb/qt/wb_foe_qt.h
View file @
6bdf87bb
...
@@ -113,6 +113,7 @@ public:
...
@@ -113,6 +113,7 @@ public:
QAction
*
select_cp_nextup
;
QAction
*
select_cp_nextup
;
QAction
*
select_cp_nextdown
;
QAction
*
select_cp_nextdown
;
CoWowFocusTimerQt
focustimer
;
CoWowFocusTimerQt
focustimer
;
bool
edit_was_checked
=
false
;
WFoeQt
(
void
*
f_parent_ctx
,
const
char
*
f_name
,
pwr_tObjid
plcprogram
,
WFoeQt
(
void
*
f_parent_ctx
,
const
char
*
f_name
,
pwr_tObjid
plcprogram
,
ldh_tWBContext
ldhwbctx
,
ldh_tSesContext
ldhsesctx
,
int
f_map_window
,
ldh_tWBContext
ldhwbctx
,
ldh_tSesContext
ldhsesctx
,
int
f_map_window
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment