Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
611d31c4
Commit
611d31c4
authored
Jan 02, 2022
by
Alexander Semke
Browse files
Fix the build.
parent
d75571cd
Pipeline
#117234
passed with stage
in 18 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/worksheetentry.cpp
View file @
611d31c4
...
...
@@ -9,6 +9,7 @@
#include
"textentry.h"
#include
"markdownentry.h"
#include
"latexentry.h"
#include
"placeholderentry.h"
#include
"imageentry.h"
#include
"pagebreakentry.h"
#include
"horizontalruleentry.h"
...
...
@@ -710,7 +711,7 @@ bool WorksheetEntry::aboutToBeRemoved()
void
WorksheetEntry
::
startRemoving
()
{
if
(
type
()
==
PlaceHolderEntry
::
Type
)
//don't do anything if a PlaceholderEntry is being removed in Worksheet::drageMoveEvent()
if
(
type
()
==
PlaceHolderEntry
::
Type
)
//don't do anything if a PlaceholderEntry is being removed in Worksheet::drageMoveEvent()
return
;
int
rc
=
KMessageBox
::
warningYesNo
(
nullptr
,
i18n
(
"Do you really want to remove this entry?"
),
i18n
(
"Remove Entry"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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