Christophe Berra's first-half header gave Scotland a solid if uninspiring 1-1 draw against Slovenia in their friendly international at the Bonifika stadium.
After James Morrison saw his close-range shot pushed onto the post by home goalkeeper and captain Samir Handanovic, midfielder Andraz Kirm gave Slovenia the lead in the 32nd minute with a header from a Miso Brecko cross.
However, seven minutes later the Scots were back on level terms with a similar goal when Berra buried the ball past Handanovic from Charlie Adam's corner from the left.
The Scots went into the game hoping to build on their 2-1 friendly win over Cyprus in November but Allan McGregor had to come to the rescue in the third minute when his defence went to sleep.
Slovenia midfielder Josip Ilicic split the Scotland rearguard with a clever pass to release Valter Birsa but the Rangers keeper raced from his goal to make the saving block at the edge of his box.
The guile the visitors needed came from Charlie Adam in the 26th minute when his superbly-weighted pass found Morrison racing into the Slovenia box but his close-range shot was touched onto the post by Handanovic, who gathered at the second attempt.
McGregor tipped a Birsa free-kick over the bar for a corner a minute later, which the Scots survived, before Morrison tested Handanovic again with an angled drive.
However, the ease in which the home side took the lead will have infuriated Levein. Right-back Brecko easily managed to get his cross in past Charlie Mulgrew and Kirm rose high above Russell Martin, who failed to react, to bullet his header past McGregor.
But six minutes from the break Adam's corner from the left - the visitors' first of the game - found Berra at the back post and the Wolves defender sent his header from eight yards past Handanovic for his second international goal.
In the 80th minute Jamie Mackie came close when he headed a Snodgrass cross just past the post and moments later, McGregor was happy to see a drive from Zlatko Dedic take a deflection past his post for yet another Slovenia corner which came to nothing - and there was no further excitement in the closing stages.