Skip to content

Commit

Permalink
fix #278383: images can't be moved with mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
jthistle committed Nov 29, 2018
1 parent 9e5dec9 commit c86b53b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libmscore/image.cpp
Expand Up @@ -32,7 +32,7 @@ static bool defaultSizeIsSpatium = true;
//---------------------------------------------------------

Image::Image(Score* s)
: BSymbol(s, ElementFlag::NOTHING)
: BSymbol(s, ElementFlag::MOVABLE)
{
imageType = ImageType::NONE;
rasterDoc = 0;
Expand Down
2 changes: 1 addition & 1 deletion mscore/events.cpp
Expand Up @@ -468,7 +468,7 @@ void ScoreView::mouseMoveEvent(QMouseEvent* me)

switch (state) {
case ViewState::NORMAL:
if (!drag)
if (!drag)
return;
if (!editData.element && (me->modifiers() & Qt::ShiftModifier))
changeState(ViewState::LASSO);
Expand Down

0 comments on commit c86b53b

Please sign in to comment.