mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
change debugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25948 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9e03f3a3ae
commit
5209aad8de
@ -91,9 +91,9 @@ void GuiSelection::put(docstring const & str)
|
||||
|
||||
void GuiSelection::on_dataChanged()
|
||||
{
|
||||
LYXERR(Debug::SELECTION, "GuiSelection::on_dataChanged::empty: " << text_selection_empty_);
|
||||
text_selection_empty_ = qApp->clipboard()->
|
||||
text(QClipboard::Selection).isEmpty();
|
||||
LYXERR(Debug::SELECTION, "GuiSelection::on_dataChanged::filled: " << !text_selection_empty_);
|
||||
}
|
||||
|
||||
|
||||
@ -102,7 +102,7 @@ bool GuiSelection::empty() const
|
||||
if (!selection_supported_)
|
||||
return true;
|
||||
|
||||
LYXERR(Debug::SELECTION, "GuiSelection::empty: " << text_selection_empty_);
|
||||
LYXERR(Debug::SELECTION, "GuiSelection::filled: " << text_selection_empty_);
|
||||
|
||||
return text_selection_empty_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user