Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 15.0.0 (15.0 branch)
-
None
-
-
8c7d4414d (master)
Description
When placing cursor inside an empty brace pair
void f()
{ // cursor is here
}
and pressing "Enter", QtC inserts not only an empty line, but also one more closing brace:
void f()
{
// cursor is here
}
}
Does not happen when initial brace pair is in the single line.